<!DOCTYPE html>
<html>
<head>
    <title>首页</title>
</head>
<body>
<h1>图书列表</h1>
<ul>
    {% for book in booklist %}
        <li>
            <a href="{% url 'booklist:detail' book.id %}">
                {{ book.btitle }}
            </a>
        </li>
    {% endfor %}
</ul>
</body>
</html>